package com.barbeque.mall.mapper;

import com.barbeque.mall.bean.wx.coupon.VO.SelectCouponListVo;
import com.barbeque.mall.bean.wx.coupon.WxMarketCouponUser;
import com.barbeque.mall.bean.wx.coupon.WxMarketCouponUserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxMarketCouponUserMapper {
    long countByExample(WxMarketCouponUserExample example);

    int deleteByExample(WxMarketCouponUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxMarketCouponUser record);

    int insertSelective(WxMarketCouponUser record);

    List<WxMarketCouponUser> selectByExample(WxMarketCouponUserExample example);

    List<SelectCouponListVo> selectByWxExample(Integer userId);

    WxMarketCouponUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxMarketCouponUser record, @Param("example") WxMarketCouponUserExample example);

    int updateByExample(@Param("record") WxMarketCouponUser record, @Param("example") WxMarketCouponUserExample example);

    int updateByPrimaryKeySelective(WxMarketCouponUser record);

    int updateByPrimaryKey(WxMarketCouponUser record);

}